package com.woniu.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 员工对象 sms_staff
 * 
 * @author woniu
 * @date 2024-10-21
 */
public class SmsStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 性别 */
    @Excel(name = "性别")
    private Integer gender;

    /** 排班标识 */
    @Excel(name = "排班标识")
    private Integer skdFlag;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 科室ID */
    @Excel(name = "科室ID")
    private Integer deptId;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Integer roleId;

    /** 挂号级别ID */
    @Excel(name = "挂号级别ID")
    private Integer registrationRankId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setSkdFlag(Integer skdFlag) 
    {
        this.skdFlag = skdFlag;
    }

    public Integer getSkdFlag() 
    {
        return skdFlag;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }
    public void setRoleId(Integer roleId) 
    {
        this.roleId = roleId;
    }

    public Integer getRoleId() 
    {
        return roleId;
    }
    public void setRegistrationRankId(Integer registrationRankId) 
    {
        this.registrationRankId = registrationRankId;
    }

    public Integer getRegistrationRankId() 
    {
        return registrationRankId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("gender", getGender())
            .append("skdFlag", getSkdFlag())
            .append("title", getTitle())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("roleId", getRoleId())
            .append("registrationRankId", getRegistrationRankId())
            .toString();
    }
}
